<el-drawer
    title="编辑"
    :visible.sync="create.drawer"
    direction="rtl"
    size="500px"
    custom-class="Va-drawer fixed"
    {{--  监测抽屉鼠标事件  --}}
    :wrapper-closable="mousedownClassBol"
    @mousedown.native="handleWrapperMousedown($event)"
    @mouseup.native="handleWrapperMouseup($event)"
    {{--  监测抽屉鼠标事件 End  --}}
    v-cloak data-7512a93d
>
    <div>
        <el-row :gutter="24" type="flex" class="Va-drawer-main" :style="layouts.drawerFixedHeight" data-7512a93d>
            <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
                <el-form ref="create.model" :model="create.model" :rules="create.rules" label-position="top" size="medium" class="Va-forms" data-7512a93d>

                    <el-form-item label="标题" required prop="name">
                        <el-input v-model="create.model.name" placeholder="请填写标题" maxlength="20" show-word-limit></el-input>
                    </el-form-item>

                    <el-form-item label="排序" prop="sort">
                        <el-input-number v-model="create.model.sort" :min="0" :max="999" label="排序"></el-input-number>
                        <va-forms-tips>数字越大越靠前</va-forms-tips>
                    </el-form-item>

                </el-form>
            </el-col>
        </el-row>
        <div slot="footer" class="Va-drawer-footer" data-7512a93d>
            <div class="Va-text-left" data-7512a93d>
                <el-button @click="drawerFormsSubmits('create')" type="primary" size="medium" :loading="create.loading">
                    @{{create.loading ? '提交中...' : '提 交'}}
                </el-button>
                <el-button @click="drawerFormsCloses('create')" size="medium">取 消</el-button>
            </div>
        </div>
    </div>
</el-drawer>

